<template>
  <div id="app">
    <!-- //路由出口 -->
    <keep-alive :include="cachePages"> 
      <router-view />
    </keep-alive>
  </div>
</template>
<script>
import { mapState } from 'vuex'
export default {
  name: 'App',
  computed:{
	  ...mapState(['cachePages'])
  },
  methods: {
    onClickLeft () {
      alert('返回')
    },
    onClickRight () {
      alert('按钮')
    },
	onSubmit(values) {
	      console.log('submit', values);
	    },
  }
}
</script>
<style lang="less">
</style>
